sesl.androidx
Toggle table of contents
main
Platform filter
main
Switch theme
Search in API
sesl.androidx
core
/
androidx.core.view
/
[main]ContentInfoCompat
/
Builder
Builder
class
Builder
(
source
)
Builder for
ContentInfoCompat
.
Members
Constructors
Builder
Link copied to clipboard
constructor
(
@
NonNull
other
:
ContentInfoCompat
)
Creates a new builder initialized with the data from the given object (shallow copy).
constructor
(
@
NonNull
clip
:
ClipData
,
source
:
Int
)
Creates a new builder.
Functions
build
Link copied to clipboard
@
NonNull
open
fun
build
(
)
:
ContentInfoCompat
set
Clip
Link copied to clipboard
@
NonNull
open
fun
setClip
(
@
NonNull
clip
:
ClipData
)
:
ContentInfoCompat.Builder
Sets the data to be inserted.
set
Extras
Link copied to clipboard
@
NonNull
open
fun
setExtras
(
@
Nullable
extras
:
Bundle
)
:
ContentInfoCompat.Builder
Sets additional metadata.
set
Flags
Link copied to clipboard
@
NonNull
open
fun
setFlags
(
flags
:
Int
)
:
ContentInfoCompat.Builder
Sets flags that control content insertion behavior.
set
Link
Uri
Link copied to clipboard
@
NonNull
open
fun
setLinkUri
(
@
Nullable
linkUri
:
Uri
)
:
ContentInfoCompat.Builder
Sets the http/https URI for the content.
set
Source
Link copied to clipboard
@
NonNull
open
fun
setSource
(
source
:
Int
)
:
ContentInfoCompat.Builder
Sets the source of the operation.